package com.uzai.console.vo.wechatprivate.devicewechatinfo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * @author liuqi
 * @date 2021年09月17日 19:17
 */
@ApiModel("添加机器人和购买授权返回总金额")
public class DeviceAmountVo {

    @ApiModelProperty("总金额")
    private Double amountTotal;

    @ApiModelProperty("产品授权明细")
    private List<DeviceProductAuth> deviceProductAuthList;

    public Double getAmountTotal() {
        return amountTotal;
    }

    public void setAmountTotal(Double amountTotal) {
        this.amountTotal = amountTotal;
    }

    public List<DeviceProductAuth> getDeviceProductAuthList() {
        return deviceProductAuthList;
    }

    public void setDeviceProductAuthList(List<DeviceProductAuth> deviceProductAuthList) {
        this.deviceProductAuthList = deviceProductAuthList;
    }

    @ApiModel("设备产品授权明细")
    public static class DeviceProductAuth implements Serializable {
        private static final long serialVersionUID = 5419895803341828054L;

        public DeviceProductAuth(){}

        @ApiModelProperty("产品编号")
        private String productCode;

        @ApiModelProperty("产品名称")
        private String productName;

        @ApiModelProperty("续费天数")
        private Integer authDays;

        @ApiModelProperty("授权过期时间")
        private Integer expireTime;

        public static long getSerialVersionUID() {
            return serialVersionUID;
        }

        public String getProductCode() {
            return productCode;
        }

        public void setProductCode(String productCode) {
            this.productCode = productCode;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public Integer getAuthDays() {
            return authDays;
        }

        public void setAuthDays(Integer authDays) {
            this.authDays = authDays;
        }

        public Integer getExpireTime() {
            return expireTime;
        }

        public void setExpireTime(Integer expireTime) {
            this.expireTime = expireTime;
        }
    }

}
